﻿<Window x:Class="HellCook.WinApp_WPF.AddNewIngredient"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        WindowStyle="ToolWindow"
        Title="Nuevo Ingrediente" Height="498" Width="339">
    <Window.Background>
        <ImageBrush ImageSource="/HellCook.WinApp_WPF;component/Images/mantel3.jpg" />
    </Window.Background>
    <Grid OpacityMask="Black">
        <Label Content="Nombre ingrediente:" Height="28" HorizontalAlignment="Left" Margin="10,10,0,0" Name="label_NameIngredient" VerticalAlignment="Top" FontWeight="Bold" />
        <Label Content="Cantidad disponible:" Height="28" HorizontalAlignment="Left" Margin="10,43,0,0" Name="label_Quantity" VerticalAlignment="Top" FontWeight="Bold" Width="128" />
        <Label Content="Tipo de medida:" Height="28" HorizontalAlignment="Left" Margin="11,136,0,0" Name="label_MeasuredType" VerticalAlignment="Top" FontWeight="Bold" />
        <Label Content="Grupo alimenticio:" Height="28" HorizontalAlignment="Left" Margin="11,180,0,0" Name="label_FoodGroup" VerticalAlignment="Top" FontWeight="Bold" />
        <Label Content="Fecha de expiracion:" Height="28" HorizontalAlignment="Left" Margin="10,213,0,0" Name="label_LifeTime" VerticalAlignment="Top" FontWeight="Bold" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="139,12,0,0" Name="textBox_NameIngredient" VerticalAlignment="Top" Width="160" />
        <TextBox Height="23" Margin="139,46,0,0" Name="textBox_Quantity" VerticalAlignment="Top" HorizontalAlignment="Left" Width="161" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="140,136,0,0" Name="comboBox_MeasuredType" VerticalAlignment="Top" Width="161" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="140,180,0,0" Name="comboBox_FoodGroup" VerticalAlignment="Top" Width="160" />                        
        <Calendar Height="176" HorizontalAlignment="Left" Margin="10,246,0,0" Name="calendar_ExpirationDate" VerticalAlignment="Top" Width="299" />
        <Button Content="Cancelar" Height="23" HorizontalAlignment="Left" Margin="234,427,0,0" Name="button_Cancel" VerticalAlignment="Top" Width="75" Click="button_Cancel_Click" />
        <Button Content="Agregar" Height="23" HorizontalAlignment="Left" Margin="153,427,0,0" Name="button_Add" VerticalAlignment="Top" Width="75" Click="button_Add_Click" />
        <CheckBox Name="CheckBox_IngredienteMensual" FontWeight="Bold" Content="Es un ingrediente mensual" HorizontalAlignment="Left" Margin="45,74,0,0" VerticalAlignment="Top" Width="255" Checked="CheckBox_IngredienteMensual_Checked" Unchecked="CheckBox_IngredienteMensual_Checked"/>
        <Label Content="Cantidad maxima:" HorizontalAlignment="Left" Margin="45,92,0,0" VerticalAlignment="Top" FontWeight="Bold"/>
        <TextBox Name="TextBox_CantidadMaxima" HorizontalAlignment="Left" IsEnabled="False" Height="23" Margin="162,95,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="137"/>
    </Grid>
</Window>
